package com.xhwl.centiotdata.pojo.constant;

import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

/**
 * @Author： lianghz
 * @Description：
 * @Date 2021/10/11/ 16:24
 */
public class ZhongKongConstant {

    /**
     * api
     */
    public static final String PEDESTRIAN_RECORD_URL = "/api/transaction/list";

    /**
     * 人行-验证方式
     */
    public static final String ACCESS_MODE_FACE = "人脸";

    public static final String ACCESS_MODE_CARD = "仅卡";

    public static final String ACCESS_MODE_FINGERPRINT = "仅指纹";

    public static final String ACCESS_MODE_PASS_WORD = "仅密码";

//    public static final String ACCESS_MODE_HAND = "手掌";
//
//    public static final String ACCESS_MODE_JOB_NUMBER = "仅工号";

    public static final String ACCESS_MODE_OTHER = "其他";

    /**
     * 人行-事件描述
     */
    public static final String ACCESS_EVENT_NORMAL = "正常验证开门";

    public static final String ACCESS_EVENT_PERSONS = "多人开门";

    public static final String ACCESS_EVENT_REMOTELY_OPEN = "远程开门";

    public static final String ACCESS_EVENT_BUTTON_OUT = "出门按钮开门";

    public static final String ACCESS_EVENT_FIRST = "首人开门";

    public static final String ACCESS_EVENT_EMERGENCY_PASS_WORD = "紧急状态密码开门";

    public static final String ACCESS_EVENT_NORMALLY_OPEN_TIME = "常开时间段开门";

    public static final String ACCESS_EVENT_INVALID_TIME = "门非有效时间段验证开门";

    public static final String ACCESS_EVENT_REMOTE_NORMALLY_OPEN = "远程开门常开";

    public static final String ACCESS_EVENT_SUPERMAN = "超级用户开门";

    public static final Set<String> ACCESS_EVENT_SET = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(
            ACCESS_EVENT_NORMAL,
            ACCESS_EVENT_PERSONS,
            ACCESS_EVENT_REMOTELY_OPEN,
            ACCESS_EVENT_BUTTON_OUT,
            ACCESS_EVENT_FIRST,
            ACCESS_EVENT_EMERGENCY_PASS_WORD,
            ACCESS_EVENT_NORMALLY_OPEN_TIME,
            ACCESS_EVENT_INVALID_TIME,
            ACCESS_EVENT_REMOTE_NORMALLY_OPEN,
            ACCESS_EVENT_SUPERMAN)));

}
